﻿<!--{eval $_TPL['titles'] = array($value['subject'], '新闻爆料');}-->
<!--{template header}-->
<script type="text/javascript">
	function checkcomtent(obj) {
		var subject = $('content');
		if (subject) {
    		var slen = strlen(subject.value);
       		if (slen == 0) {
            	alert("多少也要说句话吧！");
            	subject.focus();
           		return false;
       		 }
    	}
	}
</script>
<div class="h_status">
	查看爆料<span class="pipe">|</span><a href="news.php">返回新闻爆料列表</a>
</div>
 
	<div class="entry" style="padding:0 0 10px;">
		<div class="title">
			<h1> $news[subject]</h1>
			<div class="gray">
			<!--{date('Y-m-d H:i',$news[starttime],1)}-->
			<span class="pipe">|</span>发布者:<a href="space.php?uid=$news[uid]">$news[username]</a>
			<!--{if $news[province] or $news[city]}-->
							&nbsp;&nbsp;所属地区：$news[province] &nbsp;$news[city]
			<!--{/if}-->
			</div>
		</div>
		<div id="blog_article" class="article">
			<div class="resizeimg">
			 $news[detail]
			</div>
		</div>
			<div class="gray">
				<div class="r_option">
					 分类: <a href="news.php?uid=$news[uid]&do=news&view=find&catid=$news[catid]">{$news[catname]}</a><span class="pipe"> | </span>  有效期：<!--{date('Y-m-d',$news[endtime])}--><span class="pipe">|</span>发布者IP:$news[ip] <span class="pipe"> | </span>
				<!--{if $uid == $news[uid]}-->
					<a href="news.php?ac=new&newsid=$news[newsid]">编辑</a><span class="pipe">|</span>
					<a href="news.php?ac=new&op=delete&newsid=$news[newsid]">删除</a>
				<!--{/if}-->
				</div>
				<br /><br />
					<div class="comments_list" id="comment">
						<div class="status" style="padding: 0; height: 1px; overflow: hidden;">&nbsp;</div>
							<ul id="comment_ul">
								<!--{loop $responds $key $responevalue}--> 
									<li id="comment_{$key}_li"> 
										<div class="avatar48"><a href="space.php?uid=$responevalue[uid]"><!--{avatar($responevalue[uid],small)}--></a></div>
										<div class="title">
											<a href="space.php?uid=$responevalue[uid]" id="author_$responevalue[uid]">
											{$responevalue[username]}</a> <span class="time"><!--{date('Y-m-d H:i',$responevalue[posttime],1)}--></span>
										</div>
										<div class="detail" id="comment_$responevalue[cid]">
										
												$responevalue[content]
											
										</div>
 									</li>
 								<!--{/loop}--> 
							</ul>
						</div>
				<div class="page">$multi[html]</div>
	<!--{if $uid}-->
		<form id="commentform" name="commentform" action="news.php?ac=responds&newsid=$news[newsid]" method="post" class="quickpost">
			
			<table cellpadding="0" cellspacing="0">
				<tr>
					<td>
						回复:
						<textarea id="comment_message" onkeydown="ctrlEnter(event, 'commentsubmit_btn');" name="content" rows="5"></textarea>
					</td>
				</tr>
				<tr>
					<td>
						<input type="submit" id="commentsubmit_btn" name="comtentsubmit" class="submit" value="评论" onclick="return checkcomtent();"/>
						<span id="comment_status"></span>
					</td>
				</tr>
			</table>
		<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /></form>
		<br />
		<!--{else}-->
		您尚未登陆，不能发表回复！
		<!--{/if}-->
	
		</div>
 

 
 
	</div>
<!--{template footer}-->